#ifndef DEVICEDELEGATE_H
#define DEVICEDELEGATE_H

#include <QAbstractItemDelegate>
class DeviceDelegate: public QAbstractItemDelegate
{
public:
    DeviceDelegate(QObject* parent = nullptr);
    void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
    QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const;
};

#endif // DEVICEDELEGATE_H
